package cfdt.ldl.business.api.feign;

import cfdt.common.vo.PageBaseResponse;
import cfdt.ldl.business.api.request.GetLawyerInfoListBusinessRequest;
import cfdt.ldl.business.api.feign.fallback.BusinessFallback;
import cfdt.ldl.core.entity.LawyerInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 
 * 黑名单检查
 *
 * <pre>
 * Modify Information:
 * Author       Date          Description
 * ============ ============= ============================
 * wangxiao      2021年8月16日上午9:37:03      黑名单检查Feign
 *
 * </pre>
 */
@FeignClient(value = "ldl-business", fallbackFactory = BusinessFallback.class, path = "ldl-business")
public interface BusinessFeign {

    @GetMapping("/lawyer/getLawyerInfoList")
    PageBaseResponse<LawyerInfo> getLawyerInfoList(@RequestBody GetLawyerInfoListBusinessRequest request);

}
